xend: pass-through: use identity-mapping of PCI functions
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 22 Jul 2009 13:05:26 +0000 (14:05 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 22 Jul 2009 13:05:26 +0000 (14:05 +0100)
commite9b46d3b2368def31502d2a2bbd7a6fba5fd1dc6
treef3935e585a523736aa8d57c8987fbd94f5706b49
parent35915118e3a80183c0a4affab2c176b92cec1c8d
xend: pass-through: use identity-mapping of PCI functions

This reverses changeset "xend: pass-through: Implement least-mapping
of virtual" (19854:22067ba1de0d) and reverts the code to identity
mapping physical PCI functions to virtual ones when multi-function
virtual devices are in use. It is my opinion that this is both safer
and simpler than least-mapping, and that in the absence of further
analysis identity-mapping the best choice for now.

Signed-off-by: Simon Horman <horms@verge.net.au>
tools/python/xen/util/pci.py
tools/python/xen/xm/main.py